package Command;

import java.io.Serializable;
import javax.swing.ImageIcon;

public class CommandStatement implements Serializable {

    private int commandID;
    private String statement1;
    private String statement2;
    private ImageIcon image;

    public CommandStatement(int id, ImageIcon img) {
        this.commandID = id;
        this.statement1 = "";
        this.statement2 = "";
        this.image = img;
    }
    
    public CommandStatement(int id, String st1, String st2) {
        this.commandID = id;
        this.statement1 = st1;
        this.statement2 = st2;
        this.image = null;
    }

    public CommandStatement(int id, String st) {
        this.commandID = id;
        this.statement1 = st;
        this.statement2 = "";
        this.image = null;
    }

    public CommandStatement(int id) {
        this.commandID = id;
        this.statement1 = "";
        this.statement2 = "";
        this.image = null;
    }

    public int getId() {
        return this.commandID;
    }

    public String getSt1() {
        return this.statement1;
    }

    public String getSt2() {
        return this.statement2;
    }

    public ImageIcon getImage() {
        return this.image;
    }
}
